import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const baseRoutes: Array<RouteRecordRaw> = [
    {
        path: '',
        name: 'room',
        component: () => import('@/view/Room.vue')
    },
    {
        path: '/test',
        name: 'test',
        component: () => import('@/view/test.vue')
    },
]

export default createRouter({
    history: createWebHistory(),
    routes: baseRoutes,
})